//
//  TableViewHeaderView.m
//  Linkage
//
//  Created by LeeJay on 16/8/22.
//  Copyright © 2016年 LeeJay. All rights reserved.
//

#import "TableViewHeaderView.h"

@implementation TableViewHeaderView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        self.backgroundColor = KWhiteColor;

        self.name = [UILabel new];
        self.name.font = DYFont(16);
        [self addSubview:self.name];
        
        [_name mas_makeConstraints:^(MASConstraintMaker *make) {
             make.top.equalTo(self).mas_offset(10);
             make.right.equalTo(self).mas_offset(-10);
             make.left.equalTo(self).mas_offset(10);
             make.bottom.equalTo(self).mas_offset(-10);
         }];
        
        self.qmui_borderPosition = QMUIViewBorderPositionBottom;
        self.qmui_borderWidth = 0.5;
        self.qmui_borderColor = CSplitLineColor;
    }
    return self;
}

@end
